package com.ipzoe.mem.service;

import com.ipzoe.mem.domain.MemberCard;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ipzoe.mem.model.MemberCardAddBatchDTO;

/**
 * 会员卡Service接口
 *
 * @author eric
 * @date 2020-08-20
 */
public interface IMemberCardService extends IService<MemberCard> {

    /**
     * 批量生成会员卡
     * @param memberCardAddBatchDTO
     */
    void generateBatch(MemberCardAddBatchDTO memberCardAddBatchDTO);

    /**
     * 生成会员卡号
     * @return
     */
    String generateCardNum();
}
